package com.warrantyhotel.android.util;

import com.warrantyhotel.android.R;

import android.content.Context;
import android.widget.Toast;

public final class ToastUtil {
	private ToastUtil() {
	}

	public static void showText(final Context context, final String text) {
		Toast.makeText(context, text, Toast.LENGTH_SHORT).show();
	}

	public static void showNotImplemented(final Context context) {
		showText(context, "Not yet implemented");
	}

	public static void showNoNetwork(final Context context) {
		showText(context, context.getString(R.string.no_network_connection));
	}
}
